import request from '@/utils/request'

// 查询漏斗图
export function funnelList(query) {
  return request({
    url: '/base/recruitmentData/funnel',
    method: 'get',
    headers: {
      isToken: true,
    },
    params: query
  })
}

//查询柱状图
export function columnarList(query) {
  return request({
    url: '/base/recruitmentData/columnar',
    method: 'get',
    headers: {
      isToken: true,
    },
    params: query
  })
}

//查询饼图
export function pieList(query) {
  return request({
    url: '/base/recruitmentData/pie',
    method: 'get',
    headers: {
      isToken: true,
    },
    params: query
  })
}

//岗位
export function getGang(){
  return request({
    url:'/module/getPost',
    method: 'get',
    headers: {
      isToken: true,
    },
  })
}


